﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;
using Microsoft.Xna.Framework.Net;
using Microsoft.Xna.Framework.Storage;
using WindowsGame1.ItemClasses;


namespace WindowsGame1
{
    class PirateCharacter:PlayerCharacter
    {
        const int startingHitPoints = 15;
        const int startingSpellPoints = 5;

        const int startingStrength = 7;
        const int startingStamina = 10;
        const int startingAgility = 20;
        const int startingSpeed = 15;
        const int startingIntellect = 20;
        const int startingLuck = 12;

        public override Armor Armor
        {
            get
            {
                return base.Armor;
            }
            set
            {
                base.Armor = value;
            }
        }

        public override Weapon Weapon
        {
            get
            {
                return base.Weapon;
            }
            set
            {
                base.Weapon = value;
            }
        }

        public override Shield Shield
        {
            get 
            { 
                return base.Shield; 
            }
            set 
            { 
                base.Shield = value; 
            }
        }

        public PirateCharacter(string name, bool gender,Level difficulty, Game1 game)
            : base(game)
        {
            this.className = "Pirate";
            this.name = name;
            this.gender = gender;
            this.difficulty = difficulty;

            this.hitPoints[0] = startingHitPoints;
            this.hitPoints[1] = startingHitPoints;
            this.spellPoints[0] = startingSpellPoints;
            this.spellPoints[1] = startingSpellPoints;

            abilities.Strength = startingStrength;
            abilities.Stamina = startingStamina;
            abilities.Agility = startingAgility;
            abilities.Speed = startingSpeed;
            abilities.Intellect = startingIntellect;
            abilities.Luck = startingLuck;
        }
    }
}